{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true,
    "ExecuteTime": {
     "end_time": "2023-11-19T06:52:44.738669200Z",
     "start_time": "2023-11-19T06:52:44.730557800Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "python版本信息: 3.10.9 | packaged by Anaconda, Inc. | (main, Mar  1 2023, 18:18:15) [MSC v.1916 64 bit (AMD64)]\n"
     ]
    }
   ],
   "source": [
    "import sys\n",
    "print(\"python版本信息:\",sys.version)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Python版本信息: sys.version_info(major=3, minor=10, micro=9, releaselevel='final', serial=0)\n"
     ]
    }
   ],
   "source": [
    "import sys\n",
    "print(\"Python版本信息:\", sys.version_info)"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2023-11-19T06:55:43.265803200Z",
     "start_time": "2023-11-19T06:55:43.260818400Z"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "平台信息: win32\n"
     ]
    }
   ],
   "source": [
    "import sys\n",
    "print(\"平台信息:\", sys.platform)"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2023-11-19T06:57:11.983442900Z",
     "start_time": "2023-11-19T06:57:11.972476400Z"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Python模块搜索路径: ['D:\\\\应用\\\\PyCharm\\\\PyCharm 2023.1.4\\\\plugins\\\\python\\\\helpers-pro\\\\jupyter_debug', 'D:\\\\应用\\\\PyCharm\\\\PyCharm 2023.1.4\\\\plugins\\\\python\\\\helpers\\\\pydev', 'D:\\\\学习\\\\Python\\\\公众号', 'D:\\\\学习\\\\Python\\\\公众号', 'D:\\\\Anaconda3\\\\python310.zip', 'D:\\\\Anaconda3\\\\DLLs', 'D:\\\\Anaconda3\\\\lib', 'D:\\\\Anaconda3', '', 'C:\\\\Users\\\\15963\\\\AppData\\\\Roaming\\\\Python\\\\Python310\\\\site-packages', 'D:\\\\Anaconda3\\\\lib\\\\site-packages', 'D:\\\\Anaconda3\\\\lib\\\\site-packages\\\\vboxapi-1.0-py3.10.egg', 'D:\\\\Anaconda3\\\\lib\\\\site-packages\\\\win32', 'D:\\\\Anaconda3\\\\lib\\\\site-packages\\\\win32\\\\lib', 'D:\\\\Anaconda3\\\\lib\\\\site-packages\\\\Pythonwin']\n"
     ]
    }
   ],
   "source": [
    "import sys\n",
    "print(\"Python模块搜索路径:\", sys.path)\n"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2023-11-19T06:59:12.267932300Z",
     "start_time": "2023-11-19T06:59:12.257652700Z"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "对象的字节大小: 104\n"
     ]
    }
   ],
   "source": [
    "import sys\n",
    "obj = [1, 2, 3, 4, 5]\n",
    "print(\"对象的字节大小:\", sys.getsizeof(obj))"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2023-11-19T07:02:02.646792400Z",
     "start_time": "2023-11-19T07:02:02.633587600Z"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "标准输入,输入完成按Enter =  \n"
     ]
    }
   ],
   "source": [
    "import sys\n",
    "print(\"标准输入,输入完成按Enter = \",end=\" \" )\n",
    "ws = sys.stdin.readline()\n",
    "print(ws)\n"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2023-11-19T07:08:27.375465800Z",
     "start_time": "2023-11-19T07:08:24.796602200Z"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2023-11-19T07:04:01.778283Z",
     "start_time": "2023-11-19T07:04:01.743435500Z"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false
   }
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
